package org.erp.product.infrastructure.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.erp.product.domain.entity.ProductInfo;

import java.util.List;

/**
 * 产品信息持久层
 *
 * @author libin
 * @version 1.0
 * @description: 产品信息持久层
 * @date 2025/11/13 16:06
 **/
@Mapper
public interface ProductInfoMapper extends BaseMapper<ProductInfo> {

    void updateBatchById(@Param("list") List<ProductInfo> list);

    void updateRepairBatchById(@Param("list") List<ProductInfo> list);

    void updateInspectionBatchById(@Param("list") List<ProductInfo> list);

    void saveBatch(@Param("list") List<ProductInfo> list);
}
